﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace ClipboardCapture
{
    public partial class frmOptions : Form
    {
        private Settings m_settings;

        public frmOptions(Settings settings)
        {
            InitializeComponent();
            m_settings = settings;
            cbFormats.SelectedIndex = m_settings.Format;
        }

        private void btnSave_Click(object sender, EventArgs e)
        {
            m_settings.Format = cbFormats.SelectedIndex;
            this.Close();
        }
    }
}
